# -*-coding:utf-8 -*-
# File  : agentUserAdd_api.py
# Time  ：2021/11/25 15:04
# Author：author name

from api.manage.manage_base import ManageBase
import time

t = time.time()
real_name = "ZDH" + str(int(t))


class AgentUserAddApi(ManageBase):
    def __init__(self):
        super().__init__()
        self.url = self.host + "cloudlottery-manage/orguser/add"
        self.json = {"username": "ZDH001",
                     "password": "WlCRmYZX97KLBnSLKXDx+1M4XkecnqJluVrUhtK9bNvhl9cueWPgWya2vj1F5A1O8KZ7YAYPRyoHphj+NVyg4bCIUIQvYFXV2CMcrgaoh5uxhkApo1YVFMBUx7y6AYJZs76xtd1r6zZuJ1pk7V9M4NIibHPhfbSa9hbE2XcHOY0=",
                     "realname": "ZDH001", "phone": "15578977897", "email": "",
                     "operatorId": "1a307b9c60c24fd5bad510d388d7a2ca", "remark": "", "isSystemUser": 1,
                     "roleId": "0e7167f72b5c4ff0be3fa06882cd1d49", "orgId": "1a307b9c60c24fd5bad510d388d7a2ca",
                     "isFinancial": 0}
        self.method = "post"
